package com.model;

/**
 * Bis_pathId entity. @author MyEclipse Persistence Tools
 */

public class Bis_pathId implements java.io.Serializable {

	// Fields

	private String path_id_fk;
	private String path_ver_fk;
	private String cr_ope_no;

	// Constructors

	/** default constructor */
	public Bis_pathId() {
	}

	/** full constructor */
	public Bis_pathId(String path_id_fk, String path_ver_fk, String cr_ope_no) {
		this.path_id_fk = path_id_fk;
		this.path_ver_fk = path_ver_fk;
		this.cr_ope_no = cr_ope_no;
	}

	// Property accessors

	public String getPath_id_fk() {
		return this.path_id_fk;
	}

	public void setPath_id_fk(String path_id_fk) {
		this.path_id_fk = path_id_fk;
	}

	public String getPath_ver_fk() {
		return this.path_ver_fk;
	}

	public void setPath_ver_fk(String path_ver_fk) {
		this.path_ver_fk = path_ver_fk;
	}

	public String getCr_ope_no() {
		return this.cr_ope_no;
	}

	public void setCr_ope_no(String cr_ope_no) {
		this.cr_ope_no = cr_ope_no;
	}

	public boolean equals(Object other) {
		if ((this == other))
			return true;
		if ((other == null))
			return false;
		if (!(other instanceof Bis_pathId))
			return false;
		Bis_pathId castOther = (Bis_pathId) other;

		return ((this.getPath_id_fk() == castOther.getPath_id_fk()) || (this
				.getPath_id_fk() != null && castOther.getPath_id_fk() != null && this
				.getPath_id_fk().equals(castOther.getPath_id_fk())))
				&& ((this.getPath_ver_fk() == castOther.getPath_ver_fk()) || (this
						.getPath_ver_fk() != null
						&& castOther.getPath_ver_fk() != null && this
						.getPath_ver_fk().equals(castOther.getPath_ver_fk())))
				&& ((this.getCr_ope_no() == castOther.getCr_ope_no()) || (this
						.getCr_ope_no() != null
						&& castOther.getCr_ope_no() != null && this
						.getCr_ope_no().equals(castOther.getCr_ope_no())));
	}

	public int hashCode() {
		int result = 17;

		result = 37
				* result
				+ (getPath_id_fk() == null ? 0 : this.getPath_id_fk()
						.hashCode());
		result = 37
				* result
				+ (getPath_ver_fk() == null ? 0 : this.getPath_ver_fk()
						.hashCode());
		result = 37 * result
				+ (getCr_ope_no() == null ? 0 : this.getCr_ope_no().hashCode());
		return result;
	}

	@Override
	public String toString() {
		return "[" + path_id_fk + ", "
				+ path_ver_fk + ", " + cr_ope_no + "]";
	}

}